package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单和流程配置业务对象 sys_form_process
 *
 * @author ruoyi
 * @date 2023-06-21
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SysFormProcessBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 流程id
     */
    @NotBlank(message = "流程id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String processId;

    /**
     * 流程名称
     */
    @NotBlank(message = "流程名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String processName;

    /**
     * 表单标识
     */
    @NotBlank(message = "表单标识不能为空", groups = { AddGroup.class, EditGroup.class })
    private String formFlag;


}
